Python 2 Syntax error when executing print in boolean expression

welcome to shbcf.ru